package com.sunrise.configuracoes.servico;

import java.util.Collection;

import javax.annotation.Resource;

import lombok.Getter;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sunrise.configuracoes.repositorio.iface.ModeloNFDao;
import com.sunrise.generico.entidade.ModeloNF;
import com.sunrise.generico.visao.Filtro;

@Service
@Transactional(readOnly = true)
public class ManterModeloNFService {

	@Resource(name = "modeloNFDaoImpl")
	@Getter
	private ModeloNFDao modeloNFDAO;

	public Collection<ModeloNF> buscarPorFiltros(Filtro modeloNF) {
		return getModeloNFDAO().buscarPorFiltros(modeloNF);
	}

}